package com.nuoniu.sibanyun.entity.production;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 工序工价明细表
 * </p>
 *
 * @author 白强
 * @since 2021-08-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("mab_process_price_detail")
@ApiModel(value="VProcedurePriceDetail对象", description="工序工价明细表")
public class VProcedurePriceDetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "公司id")
    @TableField("company_id")
    private Integer companyId;

    @ApiModelProperty(value = "账套id")
    @TableField("account_id")
    private Integer accountId;

    @ApiModelProperty(value = "主订单id")
    @TableField("order_id")
    private Integer orderId;

    @ApiModelProperty(value = "主产品ID")
    @TableField("parent_inventory_id")
    private Integer parentInventoryId;

    @ApiModelProperty(value = "工艺路线_工序明细ID")
    @TableField("process_route_detail_id")
    private Integer processRouteDetailId;

    @ApiModelProperty(value = "工序ID")
    @TableField("procedure_id")
    private Integer procedureId;

    @ApiModelProperty(value = "工序名称")
    @TableField("procedure_name")
    private String procedureName;

    @ApiModelProperty(value = "工序编码")
    @TableField("procedure_code")
    private String procedureCode;

    @ApiModelProperty(value = "工资类型1:计件2:计时")
    @TableField("wages_type")
    private Integer wagesType;

    @ApiModelProperty(value = "单位名称 （件/小时）")
    @TableField("unit_name")
    private String unitName;

    @ApiModelProperty(value = "标准工时")
    @TableField("std_time")
    private BigDecimal stdTime;

    @ApiModelProperty(value = "工时价格(小时)")
    @TableField("work_hour_price")
    private BigDecimal workHourPrice;

    @ApiModelProperty(value = "合格品价格")
    @TableField("qualified_price")
    private BigDecimal qualifiedPrice;

    @ApiModelProperty(value = "返修价格")
    @TableField("rework_price")
    private BigDecimal reworkPrice;

    @ApiModelProperty(value = "不合格品价格")
    @TableField(value = "unqualified_price")
    private BigDecimal unqualifiedPrice;

    @ApiModelProperty(value = "报废价格")
    @TableField("scrap_price")
    private BigDecimal scrapPrice;


}
